package com.pz.art.service;

import com.pz.art.domain.AssoMemberUnit;
import com.ruoyi.common.core.domain.entity.SysUser;

import java.util.List;

public interface UnitService {

    /**
     * 获取所有单位列表
     *
     * @return 所有的协会下单位信息
     */
    public List<AssoMemberUnit> selectAllMember(AssoMemberUnit assoMemberUnit);

    /**
     *  通过id获取单个协会单位
     *
     * @return 返回 单个协会单位信息
     */
    public AssoMemberUnit selectMemberById(Integer id);

    public String importUnit(List<AssoMemberUnit> userList, Boolean isUpdateSupport, String operName);

    int updateMember(AssoMemberUnit assoMemberUnit);

    int deleteMemberById(Integer id,Integer status);
}
